package com.sunny.ynhz.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * Created by huhuan123 on 2018/5/24.
 */

public class PartrolRouteBean {

    /**
     * code : 1
     * data : [{"children":[{"id":"","remarks":"","createDate":"","updateDate":"","patrolId":"dd4ac848ae454490a79931abb8779af9","lttd":"","lttdEnd":"","lgtd":"","lgtdEnd":"","distance":"0.4","time":"2018-05-24","strTime":"09:50","endTime":"10:27","riverId":"HA012","userId":"ee96cd749fe84288b9fc673483417616","discoverProblems":"","resolved":"","weather":"","summary":"","isRiverChief":"","addvcd":"","riverType":"","rbsName":"","riverSide":"","sectionId":"","addvcdArea":"","name":"李国荣","type":"","locations":"","job":"","mobile":"","addvnm":"","addvcdTowm":"","addvcdVillage":"","jsonPath":"","duration":""}],"time":"2018-05-24"},{"children":[{"id":"","remarks":"","createDate":"","updateDate":"","patrolId":"1","lttd":"","lttdEnd":"","lgtd":"","lgtdEnd":"","distance":"0.4","time":"2018-05-23","strTime":"14:39","endTime":"17:39","riverId":"HA012","userId":"ee96cd749fe84288b9fc673483417616","discoverProblems":"","resolved":"","weather":"","summary":"","isRiverChief":"","addvcd":"","riverType":"","rbsName":"","riverSide":"","sectionId":"","addvcdArea":"","name":"李国荣","type":"","locations":"","job":"","mobile":"","addvnm":"","addvcdTowm":"","addvcdVillage":"","jsonPath":"","duration":""}],"time":"2018-05-23"}]
     */

    private int code;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * children : [{"id":"","remarks":"","createDate":"","updateDate":"","patrolId":"dd4ac848ae454490a79931abb8779af9","lttd":"","lttdEnd":"","lgtd":"","lgtdEnd":"","distance":"0.4","time":"2018-05-24","strTime":"09:50","endTime":"10:27","riverId":"HA012","userId":"ee96cd749fe84288b9fc673483417616","discoverProblems":"","resolved":"","weather":"","summary":"","isRiverChief":"","addvcd":"","riverType":"","rbsName":"","riverSide":"","sectionId":"","addvcdArea":"","name":"李国荣","type":"","locations":"","job":"","mobile":"","addvnm":"","addvcdTowm":"","addvcdVillage":"","jsonPath":"","duration":""}]
         * time : 2018-05-24
         */

        private String time;
        private List<ChildrenBean> children;

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public List<ChildrenBean> getChildren() {
            return children;
        }

        public void setChildren(List<ChildrenBean> children) {
            this.children = children;
        }

        public static class ChildrenBean implements MultiItemEntity {
            /**
             * id :
             * remarks :
             * createDate :
             * updateDate :
             * patrolId : dd4ac848ae454490a79931abb8779af9
             * lttd :
             * lttdEnd :
             * lgtd :
             * lgtdEnd :
             * distance : 0.4
             * time : 2018-05-24
             * strTime : 09:50
             * endTime : 10:27
             * riverId : HA012
             * userId : ee96cd749fe84288b9fc673483417616
             * discoverProblems :
             * resolved :
             * weather :
             * summary :
             * isRiverChief :
             * addvcd :
             * riverType :
             * rbsName :
             * riverSide :
             * sectionId :
             * addvcdArea :
             * name : 李国荣
             * type :
             * locations :
             * job :
             * mobile :
             * addvnm :
             * addvcdTowm :
             * addvcdVillage :
             * jsonPath :
             * duration :
             */

            private String id;
            private String remarks;
            private String createDate;
            private String updateDate;
            private String patrolId;
            private String lttd;
            private String lttdEnd;
            private String lgtd;
            private String lgtdEnd;
            private String distance;
            private String time;
            private String strTime;
            private String endTime;
            private String riverId;
            private String userId;
            private String discoverProblems;
            private String resolved;
            private String weather;
            private String summary;
            private String isRiverChief;
            private String addvcd;
            private String riverType;
            private String rbsName;
            private String riverSide;
            private String sectionId;
            private String addvcdArea;
            private String name;
            private String type;
            private String locations;
            private String job;
            private String mobile;
            private String addvnm;
            private String addvcdTowm;
            private String addvcdVillage;
            private String jsonPath;
            private String duration;

            public boolean isShow() {
                return isShow;
            }

            public void setShow(boolean show) {
                isShow = show;
            }

            private boolean isShow=false;
            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getRemarks() {
                return remarks;
            }

            public void setRemarks(String remarks) {
                this.remarks = remarks;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public String getUpdateDate() {
                return updateDate;
            }

            public void setUpdateDate(String updateDate) {
                this.updateDate = updateDate;
            }

            public String getPatrolId() {
                return patrolId;
            }

            public void setPatrolId(String patrolId) {
                this.patrolId = patrolId;
            }

            public String getLttd() {
                return lttd;
            }

            public void setLttd(String lttd) {
                this.lttd = lttd;
            }

            public String getLttdEnd() {
                return lttdEnd;
            }

            public void setLttdEnd(String lttdEnd) {
                this.lttdEnd = lttdEnd;
            }

            public String getLgtd() {
                return lgtd;
            }

            public void setLgtd(String lgtd) {
                this.lgtd = lgtd;
            }

            public String getLgtdEnd() {
                return lgtdEnd;
            }

            public void setLgtdEnd(String lgtdEnd) {
                this.lgtdEnd = lgtdEnd;
            }

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getStrTime() {
                return strTime;
            }

            public void setStrTime(String strTime) {
                this.strTime = strTime;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }

            public String getRiverId() {
                return riverId;
            }

            public void setRiverId(String riverId) {
                this.riverId = riverId;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getDiscoverProblems() {
                return discoverProblems;
            }

            public void setDiscoverProblems(String discoverProblems) {
                this.discoverProblems = discoverProblems;
            }

            public String getResolved() {
                return resolved;
            }

            public void setResolved(String resolved) {
                this.resolved = resolved;
            }

            public String getWeather() {
                return weather;
            }

            public void setWeather(String weather) {
                this.weather = weather;
            }

            public String getSummary() {
                return summary;
            }

            public void setSummary(String summary) {
                this.summary = summary;
            }

            public String getIsRiverChief() {
                return isRiverChief;
            }

            public void setIsRiverChief(String isRiverChief) {
                this.isRiverChief = isRiverChief;
            }

            public String getAddvcd() {
                return addvcd;
            }

            public void setAddvcd(String addvcd) {
                this.addvcd = addvcd;
            }

            public String getRiverType() {
                return riverType;
            }

            public void setRiverType(String riverType) {
                this.riverType = riverType;
            }

            public String getRbsName() {
                return rbsName;
            }

            public void setRbsName(String rbsName) {
                this.rbsName = rbsName;
            }

            public String getRiverSide() {
                return riverSide;
            }

            public void setRiverSide(String riverSide) {
                this.riverSide = riverSide;
            }

            public String getSectionId() {
                return sectionId;
            }

            public void setSectionId(String sectionId) {
                this.sectionId = sectionId;
            }

            public String getAddvcdArea() {
                return addvcdArea;
            }

            public void setAddvcdArea(String addvcdArea) {
                this.addvcdArea = addvcdArea;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getLocations() {
                return locations;
            }

            public void setLocations(String locations) {
                this.locations = locations;
            }

            public String getJob() {
                return job;
            }

            public void setJob(String job) {
                this.job = job;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getAddvnm() {
                return addvnm;
            }

            public void setAddvnm(String addvnm) {
                this.addvnm = addvnm;
            }

            public String getAddvcdTowm() {
                return addvcdTowm;
            }

            public void setAddvcdTowm(String addvcdTowm) {
                this.addvcdTowm = addvcdTowm;
            }

            public String getAddvcdVillage() {
                return addvcdVillage;
            }

            public void setAddvcdVillage(String addvcdVillage) {
                this.addvcdVillage = addvcdVillage;
            }

            public String getJsonPath() {
                return jsonPath;
            }

            public void setJsonPath(String jsonPath) {
                this.jsonPath = jsonPath;
            }

            public String getDuration() {
                return duration;
            }

            public void setDuration(String duration) {
                this.duration = duration;
            }

            @Override
            public int getItemType() {
                return 1;
            }
        }
    }
}
